<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>学生德育管理系统登录页面</title>
        <link rel="stylesheet" href="<%=basePath %>/login/css/reset.css">
        <link rel="stylesheet" type="text/css" href="<%=basePath %>/login/css/style.css">
</head>
<%
String message = (String)request.getAttribute("message");         // 获取错误属性
if(message != null) {
%>
<script type="text/javascript" language="javascript">
alert("<%=message%>");                                            // 弹出错误信息

</script> 
<%
}
%>
<body>
    <div class="main">
    	<div class="mainin">
    	<form action="<%=path%>/LoginServlet" method="post">
        	<h1 ><font  color="#FFF"  style="font-size: 3em">德育●用户登录</font> </h1>
            <div class="mainin1">
            	<ul>
                	<li><span>用户名：</span><input name="user_id" type="text" id="user_id" placeholder="登录名" class="SearchKeyword"></li>
                    <li><span>密码：</span><input type="password" name="user_password" id="user_password" placeholder="密码"/ class="SearchKeyword2"></li>

                    <table style="padding-left: 0.6em">
                <tr>
                    <td><input type=radio name=type value=partment>管理员 <input
                        type=radio name=type value=teacher>班主任 <input type=radio
                        name=type value=student checked>学生 <input type=radio
                        name=type value=guest>值周人员</td>
                </tr>
                
            </table>
              
                    <li><button class="tijiao">提交</button></li>
                </ul>
                </form>
            </div>
            <div class="footpage"><span style="" font-family:arial;""="">梧州学院</span>2019<a>项目开发</a> —学生德育管理系统</div>
</body>
</html>
